this.name           = "drones_Launcher";
this.author         = "Eric Walch";
this.copyright      = "august 2008";
this.description    = "Spawn ship with target mother";
this.version        = "1.10";

this.shipDied = function()
{
    let drone = this.ship.spawnOne(this.ship.scriptInfo.launch_name)
    drone.master = this.ship.owner
    if(this.ship.target)
    {
        drone.target = this.ship.target
		if (oolite.compareVersion('1.73') <= 0) 
			{
			drone.position = this.ship.position
			}
		else 
			{
			drone.setPosition(this.ship.position)
     	       }
    }
}
